package com.xiguaji.tiktok.v1.ins.dic.repository;

import com.xiguaji.tiktok.v1.ins.dic.model.InsDicLanguage;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface InsDicLanguageRepository extends CrudRepository<InsDicLanguage,Long> {

    List<InsDicLanguage> findAllByOrderByName();

    List<InsDicLanguage> findByTypeOrderByName(int type);
}
